package com.ruoyi.erp.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;



/**
 * 地区视图对象 sys_district
 *
 * @author chenyun
 * @date 2022-03-06
 */
@Data
@ApiModel("地区视图对象")
@ExcelIgnoreUnannotated
public class SysDistrictVo {

	private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
	@ExcelProperty(value = "编号")
	@ApiModelProperty("编号")
	private Long id;

    /**
     * 父级编号
     */
	@ExcelProperty(value = "父级编号")
	@ApiModelProperty("父级编号")
	private Long parentId;

    /**
     * 编码
     */
	@ExcelProperty(value = "编码")
	@ApiModelProperty("编码")
	private String districtCode;

    /**
     * 名称
     */
	@ExcelProperty(value = "名称")
	@ApiModelProperty("名称")
	private String districtName;

    /**
     * 全称
     */
	@ExcelProperty(value = "全称")
	@ApiModelProperty("全称")
	private String fullName;

    /**
     * 显示顺序
     */
	@ExcelProperty(value = "显示顺序")
	@ApiModelProperty("显示顺序")
	private Integer orderNum;

    /**
     * 级次
     */
	@ExcelProperty(value = "级次")
	@ApiModelProperty("级次")
	private String districtLevel;

    /**
     * 地区类型
     */
    @ExcelProperty(value = "地区类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_district_type")
	@ApiModelProperty("地区类型")
	private String districtType;

    /**
     * 备注信息
     */
	@ExcelProperty(value = "备注信息")
	@ApiModelProperty("备注信息")
	private String remark;


}
